< previous page page_80 next page >

Page 80
TABLE 3.1.CONTINUED
ObjectPropertyValue
TextBox1NametxtInput
Left0
Top0
Text(blank)

Then, by using the Menu Editor, add the menu options shown in Figure 3.10 to the MDI form's menu.
12181-0080a.gif
Figure 3.10.
The MDI parent menu shown in the Menu
Editor.
So that this application can display a child form, add the following code to the MDI parent form:
Dim intFormCtr As Integer
Private Sub MDIForm_Load()
intFormCtr = 1
frmNote.Caption = NotePad Version  & intFormCtr
End Sub
Private Sub mnuFileNew_Click()
    Dim NewNote As New frmNote
    intFormCtr = intFormCtr + 1
    NewNote.Show
    NewNote.Caption = NotePad Version  & intFormCtr
End Sub

 
< previous page page_80 next page >

If you like this book, buy it!